using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Resources;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace KPIS.GERP.Models.ICM
{
	[DataContract, Table("IcmCalPriceAccount")]
    public class CalPriceAccount
    {
		[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
		[DataMember, Display(Name = "CalPriceAccountId", ResourceType = typeof(Resources.CalPriceAccountResource))]
        public int CalPriceAccountId { get; set; }

		[DataMember, Display(Name = "AssetCode", ResourceType = typeof(Resources.CalPriceAccountResource))]
        public string AssetCode { get; set; }

		[DataMember, Display(Name = "FiscalPeriod", ResourceType = typeof(Resources.CalPriceAccountResource))]
        public Nullable<int> FiscalPeriod { get; set; }

		[DataMember, Display(Name = "StartDateCalDepreciation", ResourceType = typeof(Resources.CalPriceAccountResource))]
        public Nullable<System.DateTime> StartDateCalDepreciation { get; set; }

		[DataMember, Display(Name = "EndDateCalDepreciation", ResourceType = typeof(Resources.CalPriceAccountResource))]
        public Nullable<System.DateTime> EndDateCalDepreciation { get; set; }

		[DataMember, Display(Name = "DepreciationPercent", ResourceType = typeof(Resources.CalPriceAccountResource))]
        public Nullable<double> DepreciationPercent { get; set; }

		[DataMember, Display(Name = "DepreciationAmount", ResourceType = typeof(Resources.CalPriceAccountResource))]
        public Nullable<double> DepreciationAmount { get; set; }

		[DataMember, Display(Name = "AcmTranCode", ResourceType = typeof(Resources.CalPriceAccountResource))]
        public string AcmTranCode { get; set; }

		[DataMember, Display(Name = "Remark", ResourceType = typeof(Resources.CalPriceAccountResource))]
        public string Remark { get; set; }

		[DataMember, Display(Name = "RecordStatus", ResourceType = typeof(Resources.CalPriceAccountResource))]
        public string RecordStatus { get; set; }

		[DataMember, Display(Name = "CreatedBy", ResourceType = typeof(Resources.CalPriceAccountResource))]
        public Nullable<int> CreatedBy { get; set; }

		[DataMember, Display(Name = "CreatedWhen", ResourceType = typeof(Resources.CalPriceAccountResource))]
        public Nullable<System.DateTime> CreatedWhen { get; set; }

		[DataMember, Display(Name = "UpdatedWhen", ResourceType = typeof(Resources.CalPriceAccountResource))]
        public Nullable<System.DateTime> UpdatedWhen { get; set; }

		[DataMember, Display(Name = "UpdatedBy", ResourceType = typeof(Resources.CalPriceAccountResource))]
        public Nullable<int> UpdatedBy { get; set; }

    }
}